package com.companyName.sample.api.service.sys;

import com.companyName.sample.bean.dto.sys.UserInfoDto;
import com.companyName.sample.common.bean.ResponseData;
import com.companyName.sample.common.exception.BusinessException;

import java.util.List;

public interface IUserInfoService {

    ResponseData<UserInfoDto> getUserInfo(Integer userId) throws BusinessException;

    ResponseData<List<UserInfoDto>> getUserInfoList(UserInfoDto req, int pageId, int pageSize) throws BusinessException;

    ResponseData<Integer> postUserInfo(UserInfoDto req) throws BusinessException;

    ResponseData<Integer> putUserInfo(UserInfoDto req) throws BusinessException;

    ResponseData<Integer> deleteUserInfo(UserInfoDto req) throws BusinessException;

    ResponseData<Integer> putUserInfoT(UserInfoDto req) throws BusinessException;

    ResponseData<Integer> insertUserInfoT(UserInfoDto req) throws BusinessException;


}
